package com.zbc.service;

import com.zbc.dto.EmployeeDTO;
import com.zbc.dto.EmployeeLoginDTO;
import com.zbc.dto.EmployeePageDTO;
import com.zbc.entity.Employee;
import com.zbc.result.PageResult;

import java.util.List;

public interface EmployeeService {

    Employee login(EmployeeLoginDTO employeeLoginDTO);

    void insertEmployee(EmployeeDTO employeeDTO);

    PageResult pageQuery(EmployeePageDTO employeePageDTO);

    void updateEmployeeStatus(Integer status, Integer id);

    Employee getEmployeeById(Integer id);

    void updateEmployee(Employee employee);
}
